package com.dawn.module.hospital.controller.app.base.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/7 12:58
 */
@Schema(description = "用户 APP - Request VO")
@Data
@ToString(callSuper = true)
public class EReceiptOpenReqVO extends ReqVO {

    @Schema(description = "userId,微信openid")
    private String userId;

    @NotBlank(message = "应用类型不能为空")
    @Schema(description = "应用类型",example="WX")
    private String appType;

    @Schema(description = "开票类型，挂号：4，缴费：1")
    @NotBlank(message = "开票类型不能为空")
    private String operateType;

    @Schema(description = "本地档案ID")
    private Long pId;

    @Schema(description = "订单号")
    @NotBlank(message = "订单号不能为空")
    private String orderNumber;

    @Schema(description = "HIS结账ID")
    @NotBlank(message = "HIS结账ID不能为空")
    private String settleId;

    @Schema(description = "开票金额")
    @NotBlank(message = "开票金额不能为空")
    private String totalCost;
}
